// Connected Component Analysis
#include <opencv2/core/core.hpp>
void ConnectedComponentAnalysis(const cv::Mat& src_mat, std::vector<std::vector<cv::Point>>& connected_components);